diff --git a/.github/workflows/Google.yml b/.github/workflows/Google.yml index b4973f6..dbaf0e4 100644 --- a/.github/workflows/Google.yml +++ b/.github/workflows/Google.yml @@ -1,3 +1,46 @@ +name: OS Aplet pro google cloud + +on: + push: + branches: + - main + +jobs: + authenticate: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Authenticate to Google Cloud + uses: google-github-actions/auth@v2.1.3 + with: + credentials_json: ${{ secrets.GCP_CREDENTIALS }} + + test: + runs-on: ubuntu-latest + needs: authenticate + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Run tests + run: | + echo "Running tests..." + # Sem vložte příkazy pro spuštění testů + + deploy: + runs-on: ubuntu-latest + needs: test + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Deploy to Google Cloud + run: | + echo "Deploying to Google Cloud..." + # Sem vložte příkazy pro nasazení na Google Cloud + - name: Ověření ve službě Google Cloud používá: google-github-actions/auth@v2.1.3 diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 974f79f..5412301 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -1 +1,27 @@ -*** run: circleci/config.yml + +version: 2.1 + +jobs: + build: + docker: + - image: circleci/python:3.8 + steps: + - checkout + - run: + name: Install dependencies + command: | + python -m venv venv + . venv/bin/activate + pip install -r requirements.txt + - run: + name: Run tests + command: | + . venv/bin/activate + pytest + +workflows: + version: 2 + build_and_test: + jobs: .github/workflows/config.yml + - build + run: https://circleci.com/config.yml diff --git a/README.md b/README.md index d24573f..cea0fdd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ -OS Aplet ❤️ by Lukáš Budínský alias @lukins=>nyní nově @lukins-cz + OS Aplet ❤️® by Lukáš Budínský alias @lukins nebo @lukins-cz tyto profili jsou kvůli github schovány, nyní nově @osAplet [OS Aplet - Dependencies.csv](https://github.com/lukins-cz/OS-Aplet-/files/13577570/OS.Aplet.-.Dependencies.csv) -OS Aplet ❤️ © prosinec 2012 by Lukáš Budínský podléhá licenci Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International. Chcete-li zobrazit kopii této licence, navštivte https://creativecommons.org/licenses/by-nc-sa/4.0/ -run: - + OS Aplet ❤️® byl napsán již někdy © prosinec 2012 by Lukáš Budínský, podléhá licenci +Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International. Chcete-li zobrazit kopii této licence, navštivte https://creativecommons.org/licenses/by-nc-sa/4.0/ +Jde o můj jedinečný inteligentní automatický operační systém OS Aplet ❤️® +