-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f98451
commit 9e9287d
Showing
3 changed files
with
68 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Tests | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: [1.0, 1.5] | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: azure/[email protected] | ||
with: | ||
creds: ${{ secrets.AZURE_CREDENTIALS }} | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
- name: Generate UUID | ||
id: uuid | ||
run: julia -e 'using Random; write(stdout,"::set-output name=uuid::"*lowercase(randstring(21)))' | ||
shell: bash | ||
- name: Run Az CLI script | ||
run: | | ||
az group create -l southcentralus -n "azstorage-${{ matrix.os }}-${{ matrix.julia-version }}-${{ github.run_id }}" | ||
az storage account create -n "s${{ steps.uuid.outputs.uuid }}" -g "azstorage-${{ matrix.os }}-${{ matrix.julia-version }}-${{ github.run_id }}" -l southcentralus | ||
- uses: julia-actions/julia-buildpkg@latest #change lastest to master | ||
- uses: julia-actions/julia-runtest@latest #change lastest to master | ||
env: | ||
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} | ||
STORAGE_ACCOUNT: "s${{ steps.uuid.outputs.uuid }}" | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v1 | ||
with: | ||
file: lcov.info | ||
- name: Run Az CLI script | ||
run: | | ||
az group delete -n "azstorage-${{ matrix.os }}-${{ matrix.julia-version }}-${{ github.run_id }}" --yes | ||
if: ${{ always() }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
# AzStorage.jl | ||
|
||
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://ChevronETC.github.io/AzStorage.jl/stable) | ||
[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://ChevronETC.github.io/AzStorage.jl/dev) | ||
| **Documentation** | **Action Statuses** | | ||
|:---:|:---:| | ||
| [![][docs-dev-img]][docs-dev-url] [![][docs-stable-img]][docs-stable-url] | [![][doc-build-status-img]][doc-build-status-url] [![][build-status-img]][build-status-url] [![][code-coverage-img]][code-coverage-results] | | ||
|
||
Interface to Azure blob storage. | ||
Interface to Azure blob storage. | ||
|
||
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg | ||
[docs-dev-url]: https://chevronetc.github.io/AzStorage.jl/dev/ | ||
|
||
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg | ||
[docs-stable-url]: https://ChevronETC.github.io/AzStorage.jl/stable | ||
|
||
[doc-build-status-img]: https://github.com/ChevronETC/AzStorage.jl/workflows/Documentation/badge.svg | ||
[doc-build-status-url]: https://github.com/ChevronETC/AzStorage.jl/actions?query=workflow%3ADocumentation | ||
|
||
[build-status-img]: https://github.com/ChevronETC/AzStorage.jl/workflows/Tests/badge.svg | ||
[build-status-url]: https://github.com/ChevronETC/AzStorage.jl/actions?query=workflow%3A"Tests" | ||
|
||
[code-coverage-img]: https://codecov.io/gh/ChevronETC/AzStorage.jl/branch/master/graph/badge.svg | ||
[code-coverage-results]: https://codecov.io/gh/ChevronETC/AzStorage.jl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters