Skip to content

Commit

Permalink
[#82] Move build and test job to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
juampynr committed Jul 5, 2022
1 parent 199e869 commit c8c951b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .circleci/config.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and test
on:
push:

jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build application
run: |
wget https://go.dev/dl/go1.18.3.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version
go build
- name: Build Drupal skeleton with Composer Drupal Project
run: |
composer create-project drupal-composer/drupal-project:9.x-dev drupal --stability dev --no-interaction
- name: Copy application binary and run it
run: |
cp drupal9ci drupal/
cd drupal
# We can't test interactive mode here so we pass a CI provider.
./drupal9ci Bitbucket

0 comments on commit c8c951b

Please sign in to comment.